//
//package com.rt.schedulebase.service.impl;
//import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
//import com.baomidou.mybatisplus.core.conditions.Wrapper;
//import java.util.Map;
//import java.util.HashMap;
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import java.util.List;
//import com.rt.schedulebase.dto.ExamApplyItemDto;
//import java.io.Serializable;
//import com.rt.schedulebase.service.IExamApplyItemService;
//import com.rt.schedulebase.entity.ExamApplyItem;
//import com.rt.schedulebase.mapper.ExamApplyItemMapper;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//public class ExamApplyItemServiceImpl extends ServiceImpl<ExamApplyItemMapper, ExamApplyItem> implements IExamApplyItemService
//{
//@Override
//    public boolean insertSelective(final ExamApplyItem examApplyItem) {
//        return this.retBool(Integer.valueOf(((ExamApplyItemMapper)this.baseMapper).insert(examApplyItem)));
//    }
//
//@Override
//    public boolean deleteByPrimaryKey(final String key) {
//        return this.retBool(Integer.valueOf(((ExamApplyItemMapper)this.baseMapper).deleteById((Serializable)key)));
//    }
//
//@Override
//    public boolean updateByPrimaryKeySelective(final ExamApplyItem examApplyItem) {
//        return this.retBool(Integer.valueOf(((ExamApplyItemMapper)this.baseMapper).updateById(examApplyItem)));
//    }
//
//@Override
//    public ExamApplyItem selectByPrimaryKey(final String key) {
//        return (ExamApplyItem)((ExamApplyItemMapper)this.baseMapper).selectById((Serializable)key);
//    }
//
//@Override
//    public List<ExamApplyItem> getList(final ExamApplyItemDto dto) {
//        final QueryWrapper<ExamApplyItem> qw = (QueryWrapper<ExamApplyItem>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("APPLY_NO", dto.getApplyNo());
//        map.put("ORDER_NO", dto.getOrderNo());
//        map.put("EXAM_CLASS", dto.getExamClass());
//        qw.allEq((Map)map, false);
//        final List<ExamApplyItem> list = (List<ExamApplyItem>)((ExamApplyItemMapper)this.baseMapper).selectList((Wrapper)qw);
//        return list;
//    }
//
//@Override
//    public List<ExamApplyItem> getListAll() {
//        return (List<ExamApplyItem>)((ExamApplyItemMapper)this.baseMapper).selectList((Wrapper)null);
//    }
//
//@Override
//    public boolean delete(final ExamApplyItem examApplyItem) {
//        final UpdateWrapper<ExamApplyItem> uw = (UpdateWrapper<ExamApplyItem>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("APPLY_NO", examApplyItem.getApplyNo());
//        map.put("ITEM_NO", examApplyItem.getItemNo());
//        map.put("ITEM_CODE", examApplyItem.getItemCode());
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamApplyItemMapper)this.baseMapper).delete((Wrapper)uw)));
//    }
//
//@Override
//    public boolean update(final ExamApplyItem examApplyItem) {
//        final UpdateWrapper<ExamApplyItem> uw = (UpdateWrapper<ExamApplyItem>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("APPLY_NO", examApplyItem.getApplyNo());
//        map.put("ORDER_NO", examApplyItem.getOrderNo());
//        map.put("EXAM_CLASS", examApplyItem.getExamClass());
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamApplyItemMapper)this.baseMapper).update(examApplyItem, (Wrapper)uw)));
//    }
//
//@Override
//    public ExamApplyItem getInfo(final ExamApplyItemDto dto) {
//        final QueryWrapper<ExamApplyItem> qw = (QueryWrapper<ExamApplyItem>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("APPLY_NO", dto.getApplyNo());
//        map.put("ITEM_CODE", dto.getItemCode());
//        map.put("ITEM_NO", dto.getItemNo());
//        qw.allEq((Map)map, false);
//        return (ExamApplyItem)((ExamApplyItemMapper)this.baseMapper).selectOne((Wrapper)qw);
//    }
//}
